#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/4/8 11:36
# @Author  : wanghaoran
# @File    : tests.py
"""
前端界面： http://host:port/admin/
账号：admin
密码：unidt2023
"""
import requests
import json

host = "113.31.111.86"
port = 19003
BASE_URL = f"http://{host}:{port}/"


## 历史对话

# 写入
def history_insert():
    url = BASE_URL + "history_qa/save/"

# 查询
def history_get_by_user():
    url = BASE_URL + "history_qa/save/"

def history_get_by_time():
    url = BASE_URL + "history_qa/save/"

# 删除
def history_delete():
    url = BASE_URL + "history_qa/save/"

## 知识库

# 写入
def knowledge_insert():
    url = BASE_URL + "knowledge1/insert/"

# 查询
def knowledge_search():
    url = BASE_URL + "knowledge1/search/"

# 删除
def knowledge_delete1():
    url = BASE_URL + "knowledge1/delete/"

def knowledge_delete2():
    url = BASE_URL + "knowledge1/delete/"

def knowledge_delete3():
    url = BASE_URL + "knowledge1/delete/"

def knowledge_delete4():
    url = BASE_URL + "knowledge1/delete/"

def knowledge_delete5():
    url = BASE_URL + "knowledge1/delete/"


if __name__ == "__main__":
    pass